<?php
class admin_controller_admin_error extends AdminController {
	/**
	 * @name 错误显示
	 * @ignore 
	 *
	 */
	public function show_action(){
		if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest'){
			$this->ret = self::failure(Error::ERROR_UNKNOWN  , '你访问的页面不存在');
			$this->_renderJson();
		}else{
			$this->_renderSingle();
		}
	}
	
}